package com.yn.work;

import com.rabbitmq.client.Channel;
import com.yn.thread.MQCustomerThread;
import com.yn.utils.MQUtil;

/**
 * @ClassName: Worker1
 * @Description:
 * @author: 王胜
 * @date 2021/6/17
 * @Version: 1.0
 **/
public class Worker {
    public static final String QUEUE_NAME="hello";
    public static void main(String[] args) throws Exception {
        new MQCustomerThread(QUEUE_NAME).start();
    }
}
